package com.button.project.controller.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import com.button.project.controller.UserController;
import com.button.project.pojo.UserModel;
import com.button.project.service.UserService;

@RestController
public class UserControllerImpl implements UserController {
	
	@Autowired
	private UserService userService;
	
	@Override
	public List<UserModel> getUser() {
		return userService.getUser();
	}

}
